﻿@model IEnumerable<Guline.SupportCMS.Models.Object.Article>
@{
    var first = Model.First();
    var listnext = Model.Skip(1);    
}
<ul style="font-size: 11px">

    <li class="clearfix" style="border-bottom: 1px dotted #ccc; line-height: 15px; margin-bottom: 5px; padding-bottom: 5px;">
        @if (first != null)
        {
            <div class="mb hover-shadow">
                <a href="@Url.Action("Detail", "Content", new { ID = first.ID,Name=Guline.SupportCMS.Models.Utils.Utils.UrlRewriteString(first.Title) })" title="@first.Title">
                    <img alt="@first.Title" style="width:100%" src="@first.Image" /></a>
            </div>
            <div class="post_m_content" style="margin-top: -30px"><a href="@Url.Action("Detail", "Content", new { ID = first.ID,Name=Guline.SupportCMS.Models.Utils.Utils.UrlRewriteString(first.Title) })" title="@first.Title">@first.Title</a></div>
        }
    </li>
    @if (listnext.Count() > 0)
    {
        foreach (var nw in listnext)
        {
        <li class="clearfix" style="line-height: 15px; margin-bottom: 10px">

            <a href="@Url.Action("Detail", "Content", new { ID = nw.ID,Name=Guline.SupportCMS.Models.Utils.Utils.UrlRewriteString(nw.Title) })" title="@nw.Title">@nw.Title</a>

        </li>
        }
    }

</ul>
